/**
 *
 */
package com.zhuoyue.elmt.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.eit.eitsite.common.persistence.Page;
import com.eit.eitsite.common.service.CrudService;
import com.zhuoyue.elmt.entity.InspectionRecord;
import com.zhuoyue.elmt.dao.InspectionRecordDao;

/**
 * 电梯检验记录Service
 * @author chenhao
 * @version 2016-09-09
 */
@Service
@Transactional(readOnly = true)
public class InspectionRecordService extends CrudService<InspectionRecordDao, InspectionRecord> {

	public InspectionRecord get(String id) {
		return super.get(id);
	}
	
	public List<InspectionRecord> findList(InspectionRecord inspectionRecord) {
		return super.findList(inspectionRecord);
	}
	
	public Page<InspectionRecord> findPage(Page<InspectionRecord> page, InspectionRecord inspectionRecord) {
		return super.findPage(page, inspectionRecord);
	}
	
	@Transactional(readOnly = false)
	public void save(InspectionRecord inspectionRecord) {
		super.save(inspectionRecord);
	}
	
	@Transactional(readOnly = false)
	public void delete(InspectionRecord inspectionRecord) {
		super.delete(inspectionRecord);
	}
	
}